Search found 246 matches

by Marco
Fri Feb 15, 2013 4:27 pm
Forum: General category
Topic: Question about RND function
Replies: 9
Views: 13170

Question about RND function

yes, it alright with me. although its not really random any more. I will build in a vb like function and leave the old rnd in.
best regards
by Marco
Thu Feb 07, 2013 4:43 pm
Forum: General category
Topic: Question about RND function
Replies: 9
Views: 13170

Question about RND function

Hi, i just see this.the seed of rnd is always 1 the max number can be set ; rnd(0-max)after that you must do a little calculation.supose you want have a seed of .5 to the max of 20.the syntax must be random=rnd(40)*.5 then you get a seed of .5 between 0 and 20 (=.5*40)if you want those number betwee...
by Marco
Thu Jan 24, 2013 4:34 pm
Forum: General category
Topic: Get "Name" of the person "Logged On" to the
Replies: 1
Views: 4731

Get "Name" of the person "Logged On" to the

`get usernameDeclare GetUserName as "GetUserNameA" of advapi32.dll  lpBuffer As string byaddress  nSize As Long  result as longend declaredim b as integerb=250getusername.nsize=varptr(b)getusername.executeif getusername.result=true then  showmessage getusername.lpbuffer...
by Marco
Wed Dec 19, 2012 4:11 pm
Forum: examples
Topic: List "Folder Names" to listbox
Replies: 1
Views: 4731

List "Folder Names" to listbox

hi, maybe you have to study this console example, i think it does what you`re looking for.best regards`folders of foldersdim foldername as stringdim returnstr as stringdim a as stringfoldername="c:windows*.*"returnstr=findfirst$(foldername)if fileinfo$(4)="16" then print returnst...
by Marco
Sun Nov 18, 2012 4:50 pm
Forum: General category
Topic: Missing Features
Replies: 5
Views: 8635

Missing Features

Hi, it does not matter, however papi has a point, if a new feature causes to rewrite it all i don`t think i will do that but try to find a solution for it. However i study all the comments to look if it can build in but that takes some time.

both of you, best regards
by Marco
Sun Nov 18, 2012 4:46 pm
Forum: examples
Topic: Rapid-Q VS FnxBasic
Replies: 6
Views: 44492

Rapid-Q VS FnxBasic

It has nothing to do with rapidq, the interpreter is compiled machinecode from my program in delphi 7.0 and the compiler is in fact the interpreter with the bytcode of the compiler. In other way the fnxbasic compiler and editor are also written in fnxbasic.
best regards
by Marco
Wed Nov 14, 2012 10:05 pm
Forum: examples
Topic: Rapid-Q VS FnxBasic
Replies: 6
Views: 44492

Rapid-Q VS FnxBasic

It`s like a car, it are two complete different cars with different engines but in both you can drive. try this in both:dim a as stringdim c as integerdim d as doubled=timerfor c=1 to 1000000a=a+"ok"next cshowmessage str$(timer-d)+"seconds needed"subs need not to be declared in fn...
by Marco
Sun Oct 21, 2012 3:19 pm
Forum: General category
Topic: Next Update Release Date
Replies: 2
Views: 5777

Next Update Release Date

Hi, i`ve a lot things to build in, it depends how fast i find solutions for the problems with adding function fix bugs etc. I hope to give an update about 1 or two months.
best regards
by Marco
Wed Oct 17, 2012 3:19 pm
Forum: General category
Topic: find the default browser
Replies: 9
Views: 13124

find the default browser

yes, it creates a temporalely html file then look with an api call of windows with what execute it will be opened. Then it shows the path and name of that executable and erase (kill) the temp file.
The windows functioncall is findexecutable.
best regards
by Marco
Tue Oct 16, 2012 3:34 pm
Forum: General category
Topic: find the default browser
Replies: 9
Views: 13124

find the default browser

Maybe this will do ???best regards``get default browserdeclare FindExecutable as "FindExecutableA" of "shell32.dll"lpFile As StringlpDirectory As StringlpResult As String byaddressend declarefunction getdefaultbrowser as stringdim f as filestreamf.open("htmpl.htm")f.clo...