Search found 26 matches

by Bob Hays
Mon Nov 24, 2014 3:54 pm
Forum: General category
Topic: Next Release of FnxBasic?
Replies: 18
Views: 42684

Next Release of FnxBasic?

Yes - any news on the new version?Anxiously awaiting  :DWill the new version support user defined and nested user defined data types?If you are keeping the Record and Type functions the same you could use "UDT" and the command.something like...<CODE>UDT loc_t    as integer x,y,zend UDTUDT ...
by Bob Hays
Wed May 21, 2014 5:50 pm
Forum: General category
Topic: Functions inside types
Replies: 2
Views: 10093

Functions inside types

I am attempting to port an sqlite3 wrapper from Rapidq.There are functions inside the type definition.When I attempt to assign the return value to "Result" the compiler complains with "RESULT" not declared/unknown.What is the proper way to return the results from a function insid...
by Bob Hays
Tue Aug 20, 2013 10:56 pm
Forum: examples
Topic: Tab control: How to add objects on different tabs
Replies: 1
Views: 5583

Tab control: How to add objects on different tabs

You create a separate hidden panel for each tab placing all panels in the same place.Your objects then go on the panels.you create a subroutine to change which panel you want visible selected by the onchange method.object  tabs as tabcontrol... onChange = changepanel...end objectsub changepanel...
by Bob Hays
Fri Jun 28, 2013 5:05 pm
Forum: General category
Topic: GetScreenWidth and Height Thru Win32Api
Replies: 2
Views: 8451

GetScreenWidth and Height Thru Win32Api

Your program would work better of you were to call GetScreenWidth with the button.
You have the button calling the GetScreenHeight which doesn`t call GetScreenWidth.  ;)

What inputs would you need to get screen resolutions for multiple screens (monitors)?
by Bob Hays
Mon Feb 11, 2013 12:00 am
Forum: General category
Topic: Question about RND function
Replies: 9
Views: 14603

Question about RND function

Admin

Could you add a Randomize function that would give us this capability?  :question
Sometimes it is adventagious to have pre-determined random numbers for testing.
by Bob Hays
Wed Nov 07, 2012 7:28 pm
Forum: examples
Topic: IdealEdit-beta1
Replies: 7
Views: 20063

IdealEdit-beta1

Working fine now!?!?!?!?!?!?!

After I had loaded in your source code it started working!

Computers are always giving me raspberrys!


by Bob Hays
Tue Nov 06, 2012 5:42 pm
Forum: examples
Topic: IdealEdit-beta1
Replies: 7
Views: 20063

IdealEdit-beta1

Great editor! Now for a GUI editor screen! :) Noticed that the line numbers do not scroll well. I use Windows 7 64-bit. If that helps. I made a small program of 58 lines and the line numbers scroll up only 1 line and does not add new line numbers when using the cursor keys or the scroll bar. Thus di...
by Bob Hays
Tue Jan 24, 2012 4:02 pm
Forum: examples
Topic: Clock
Replies: 3
Views: 12289

Clock

When I ran your program, I noticed that the seconds hand did not move.The existing code does not check for 12 hour mode and tries to get seconds by getting the value of the AM/PM indicator. The code below corrects this.---------------------------------------------------------------------------------...
by Bob Hays
Sat Jan 14, 2012 6:42 pm
Forum: General category
Topic: User Defined Data Types
Replies: 3
Views: 7142

User Defined Data Types

[quote author=3B3E3733345A0 link=1326507808/1#1 date=1326558816]You can use record for it.A record contains different variables;record test? ? d as integer? ? f as string * 5end recordthere is also the type functio, i m busy with it right now.best regards[/quote]How I create an array of record and a...
by Bob Hays
Sat Jan 14, 2012 2:23 am
Forum: General category
Topic: User Defined Data Types
Replies: 3
Views: 7142

User Defined Data Types

Early versions of FNX basic had Type....End Type.With Type...End Type I was able to create complex data types.Also array of UDT`s were possible.----------------Type myTypet? ?rname as string * 50? ?raddr as string * 50End TypeDim myType(50) AS MyTypet----------------------------------Will these be b...