Search found 88 matches

by cvirus
Fri Jun 06, 2014 9:01 am
Forum: General category
Topic: There is an error in a sample program?
Replies: 1
Views: 7260

There is an error in a sample program?

Try it with a different var name like this:[code]object myform as form  onpaint=testsend objectmyform.showmodalsub tests  dim x as integer,y as integer,r as integer  x=myform.clientwidth/2  y=myform.clientheight/2  r=70  myform.canvas.pie(x,y,r,0,60,0,rgb(255,0,0)) ...
by cvirus
Mon May 12, 2014 3:13 pm
Forum: General category
Topic: GetSystemTime example
Replies: 2
Views: 9839

GetSystemTime example

Thanks Angel, i not even knew that fnxbasic had word, this is working now, but to get your pc time you must change getsystemtime to getlocaltime in the api call

Does fnxbasic have also DWORD? 32 bits instead of 16 WORD?.

Thanks.
by cvirus
Sat Mar 22, 2014 5:21 pm
Forum: examples
Topic: Browser Object
Replies: 2
Views: 8767

Browser Object

What i meant was, embebed browser in fnx app.
by cvirus
Mon Mar 17, 2014 7:47 pm
Forum: examples
Topic: Browser Object
Replies: 2
Views: 8767

Browser Object

Hello Admin, is it possible to use browser object in FnxBasic?

Thanks
by cvirus
Sat Oct 12, 2013 1:50 pm
Forum: General category
Topic: StrPtr() in FNX
Replies: 5
Views: 10049

StrPtr() in FNX

Ok,complete vars in varptr;[code]dim a as Stringdim b as integerdim c as double dim d as boolean a="Hello varptr"b=10c=5.2d = 1print("My Adress is "+str$(varptr(a)))print("String -> "+a)print()print("My Adress is "+str$(varptr(b)))print("Integer -> "...
by cvirus
Sat Oct 12, 2013 12:22 pm
Forum: General category
Topic: StrPtr() in FNX
Replies: 5
Views: 10049

StrPtr() in FNX

Well in Fnx you also could do like this:[code]dim a as Stringdim b as integera="Hello varptr"b=10print("My Adress is "+str$(varptr(a)))print("Written Words -> "+a)print("My Adress is "+str$(varptr(b)))print("Integer -> "+str$(b))sleep(5000)[/code]Wor...
by cvirus
Sat Oct 12, 2013 11:11 am
Forum: General category
Topic: StrPtr() in FNX
Replies: 5
Views: 10049

StrPtr() in FNX

Those this will do?

VARPTR function


Returns the memory address.


Syntax: Varptr(variable name)


Returns the memory address used by windows for a specific variable.


Dim a as integer
Print Varptr(a)

The diference is that StrPtr(val) returns the adress of the first char in the string right?
by cvirus
Wed Oct 02, 2013 8:00 am
Forum: General category
Topic: Read INI-Section with API-function
Replies: 4
Views: 9504

Read INI-Section with API-function

Good, thanks.? ?:)
by cvirus
Mon Sep 23, 2013 7:54 am
Forum: examples
Topic: User guide
Replies: 2
Views: 6488

User guide

You can check it here - > http://www.fnxbasic.com/cgi-bin/yabb2/YaBB.pl?num=1260810026

Old files but should get you going.  8-)
by cvirus
Fri Aug 30, 2013 8:20 am
Forum: General category
Topic: Upload files
Replies: 0
Views: 13494

Upload files

I have been trying to upload a .bas file and i was not able to, i have tested with several browsers and diferent computers and it gives allways an error.

Is something wrong with it?

Thanks