equal
deleted
inserted
replaced
167 } |
167 } |
168 |
168 |
169 // decimal |
169 // decimal |
170 return atoi(src); |
170 return atoi(src); |
171 } |
171 } |
172 void __attribute__((overloadable)) fpcrtl_val__vars(string255 s, LongInt *a, |
172 |
173 LongInt *c) { |
173 void __attribute__((overloadable)) fpcrtl_val__vars(string255 s, LongInt *a) |
174 *c = 0; // no error |
174 { |
175 FIX_STRING(s); |
175 FIX_STRING(s); |
176 *a = str_to_int(s.str); |
176 *a = str_to_int(s.str); |
177 } |
177 } |
178 |
178 |
179 void __attribute__((overloadable)) fpcrtl_val__vars(string255 s, Byte *a, |
179 void __attribute__((overloadable)) fpcrtl_val__vars(string255 s, Byte *a) |
180 LongInt *c) { |
180 { |
181 *c = 0; // no error |
|
182 FIX_STRING(s); |
181 FIX_STRING(s); |
183 *a = str_to_int(s.str); |
182 *a = str_to_int(s.str); |
184 } |
183 } |
185 |
184 |
186 void __attribute__((overloadable)) fpcrtl_val__vars(string255 s, LongWord *a, |
185 void __attribute__((overloadable)) fpcrtl_val__vars(string255 s, LongWord *a) |
187 LongInt *c) { |
186 { |
188 *c = 0; // no error |
|
189 FIX_STRING(s); |
187 FIX_STRING(s); |
190 *a = str_to_int(s.str); |
188 *a = str_to_int(s.str); |
191 } |
189 } |
192 |
190 |
193 LongInt fpcrtl_random(LongInt l) { |
191 LongInt fpcrtl_random(LongInt l) { |