| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Pythagorean Triples |
Hello mark. 02 Sep 04 15:47, you wrote to DAVID WILLIAMS: DW>> The DEFLNG A-Z at the beginning makes the variables DW>> default to "long" (32-bit) integers, unless their DW>> names carry suffixes such as "$" or "#" to indicate DW>> some other type. ml> can you tell me what those used in your pythag are and what they mean? ml> i see some with $ and one or two with #... its kinda hard to convert ml> to another language when the size of the variables isn't known ;) it ml> also helps to know the ranges, too... # is double (64 bit floating point) $ is string (MS-BASIC string descriptor) ! is float (32 bit floating point) % is int (16 bit signed integer) & is long (32 bit signed integer) \ is integer division (DIV in pascal, C uses integer division wherever both parts are integers), mod is modulus. ( % in C) Jasen --- GoldED+/LNX 1.1.4.7* Origin: (3:640/1042) SEEN-BY: 633/267 270 @PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.