Basic4GL
« new Version Wants »

Welcome Guest. Please Login or Register.
Dec 22, 2009, 2:29am




Basic4GL :: BASIC4GL Boards :: Suggestions/Complaints/Comments :: new Version Wants
« Page 2 of 2 Jump to page   Go    [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: new Version Wants (Read 293 times)
shadow008
Posts a lot
****
member is offline

[avatar]

NINJAS WITH GUITARS! (you will never be as awsome as this)



Joined: Feb 2009
Gender: Male
Posts: 376
 Re: new Version Wants
« Reply #15 on Nov 2, 2009, 8:26pm »

that will do. thanks!
Link to Post - Back to Top  IP: Logged

OK

hint:
(look at it sideways)

DJLinux
Global Moderator
*****
member is offline



\_/?



Joined: Apr 2008
Gender: Male
Posts: 486
Location: Germany NRW Essen
 Re: new Version Wants
« Reply #16 on Nov 4, 2009, 9:55am »

const DIS  = 0
const DIS_2 = 1
const DIS_X = 1
const DIS_Y = 2


function distance#(x1,y1,x2,y2,what)
dim xdif=x2-x1
dim ydif=y2-y1
if (what=DIS_X) then
return xdif
elseif (what=DIS_Y) then
return ydif
elseif (what=DIS_2) then
return xdif*xdif + ydif*ydif
else
return SQR(xdif*xdif + ydif*ydif)
end if
endfunction

dim x,y,a,b,Xd#,Yd#,d#,d2#

'give them some values
x = 2
y = 4
a = 7
b = 8

'return multiple values like so...
d# = distance#(x,y,a,b,DIS)
d2# = distance#(x,y,a,b,DIS_2)
Xd# = distance#(x,y,a,b,DIS_X)
Yd# = distance#(x,y,a,b,DIS_Y)

printr "xdif " + Xd#
printr "ydif " + yd#
printr "distance " + d#
printr "squared " + d2#
Link to Post - Back to Top  IP: Logged

(sorry for my bad English)
I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.
shadow008
Posts a lot
****
member is offline

[avatar]

NINJAS WITH GUITARS! (you will never be as awsome as this)



Joined: Feb 2009
Gender: Male
Posts: 376
 Re: new Version Wants
« Reply #17 on Nov 4, 2009, 2:10pm »

that way took me a little bit longer to understand, but it works. Thanks!
Link to Post - Back to Top  IP: Logged

OK

hint:
(look at it sideways)

Darkjester
Posts a bit
***
member is offline

[avatar]



Joined: Jun 2009
Gender: Male
Posts: 173
 Re: new Version Wants
« Reply #18 on Nov 25, 2009, 12:15pm »

Tom should make it so basic4gl will save the current file when you click the go button(that way if it crashes you dont lose all that work) And A redo button, and fix the ide glitches (there are a couple i can point out) and Block Commenting -darkjester
Link to Post - Back to Top  IP: Logged

-I love Krystal <3

http://joshkoert.wikispaces.com/
shadow008
Posts a lot
****
member is offline

[avatar]

NINJAS WITH GUITARS! (you will never be as awsome as this)



Joined: Feb 2009
Gender: Male
Posts: 376
 Re: new Version Wants
« Reply #19 on Nov 25, 2009, 12:16pm »

how about FindNextFolder(dir$) that finds all folders in a certain directory instead of just files?
« Last Edit: Nov 25, 2009, 2:02pm by shadow008 »Link to Post - Back to Top  IP: Logged

OK

hint:
(look at it sideways)

crazynate
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Jan 2009
Gender: Male
Posts: 205
Location: somwhere
 Re: new Version Wants
« Reply #20 on Nov 25, 2009, 3:17pm »

I would like to be able to re-dim variables and be able to connect to hardware such as scanners, printers, webcams, etc. Other features that I still would like to see is be able to load videos as sprites, embed plugins, and change the program's icon.
Link to Post - Back to Top  IP: Logged

http://crazynatestudios.wikispaces.com/
http://crazynatestudios.proboards.com/index.cgi
« Page 2 of 2 Jump to page   Go    [Search This Thread][Send Topic To Friend] [Print]

Google
Webbasic4gl.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!