Guide showing you PHP and RPG differences
- RPG is strongly typed.
- RPG indexes start at 1, where PHP starts at 0.
- Variables in PHP start with a Dollar sign. ($)
class expRange | |
{ | |
public int _low; | |
public int _high; | |
public expRange(int low, int high) | |
{ | |
_low = low; | |
_high = high; | |
} |