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
Search found 246 matches
- Fri Feb 15, 2013 4:27 pm
- Forum: General category
- Topic: Question about RND function
- Replies: 9
- Views: 12512
- Thu Feb 07, 2013 4:43 pm
- Forum: General category
- Topic: Question about RND function
- Replies: 9
- Views: 12512
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...
- Thu Jan 24, 2013 4:34 pm
- Forum: General category
- Topic: Get "Name" of the person "Logged On" to the
- Replies: 1
- Views: 4322
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...
- Wed Dec 19, 2012 4:11 pm
- Forum: examples
- Topic: List "Folder Names" to listbox
- Replies: 1
- Views: 4290
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...
- Sun Nov 18, 2012 4:50 pm
- Forum: General category
- Topic: Missing Features
- Replies: 5
- Views: 8030
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
both of you, best regards
- Sun Nov 18, 2012 4:46 pm
- Forum: examples
- Topic: Rapid-Q VS FnxBasic
- Replies: 6
- Views: 42648
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
best regards
- Wed Nov 14, 2012 10:05 pm
- Forum: examples
- Topic: Rapid-Q VS FnxBasic
- Replies: 6
- Views: 42648
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...
- Sun Oct 21, 2012 3:19 pm
- Forum: General category
- Topic: Next Update Release Date
- Replies: 2
- Views: 5358
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
best regards
- Wed Oct 17, 2012 3:19 pm
- Forum: General category
- Topic: find the default browser
- Replies: 9
- Views: 12475
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
The windows functioncall is findexecutable.
best regards
- Tue Oct 16, 2012 3:34 pm
- Forum: General category
- Topic: find the default browser
- Replies: 9
- Views: 12475
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...