Conversions
- Posted by Vic <cybrgod at IBM.NET> Feb 17, 1997
- 919 views
Hello, I'm trying to write a program and wanted to know a little more about TYPE as in: type page_number(integer p) --from image.e return p >= 0 and p <= 7 end type Can anyone convert this from Turbo Pascal: ***************** TYPE Rat = Record x,y,z:integer; End; location = Record x,y:integer; End; ***************** Or this from C ***************** struct Rat { int x; int y; int z; } struct location { int x; int y; } **************** And after this how can convert this TP statement to Euphoria? **************** VAR Rats : Array [1..400] of Rat; Clean : Array [1..2,1..400] of location; **************** Thanks, /ViC./ ______________________________________________________________________ | http://www.geocities.com/SiliconValley/Heights/8858/home.htm | | Veni vidi, vici. Fiat lux. | |______________________________________________________________________|