1
/*/////////////////////////////////////////Concalc////////////////////////////////////////////
2
/////////////////////////////////Scientific Graphic Calculator////////////////////////////////
6
Email: rainer1223@users.sourceforge.net
7
Homepage: http://extcalc-linux.sourceforge.net
9
This program is free software; you can redistribute it and/or modify
10
it under the terms of the GNU General Public License as published by
11
the Free Software Foundation; either version 2, or (at your option)
15
////////////////////////////////////////////////////////////////////////////////////////////*/
234
248
//Standard Calculator functions
249
char* preprocessor(char*,Preferences*,bool);
250
char* preferencesPreprocessor(char*,Preferences*);
251
char* macroPreprocessor(char*);
252
char* cleanString(char*,Preferences*);
253
char* removeComments(char*);
254
char* strreplace(char*st,int index,int len,char*rep);
255
char* strinsert(char*st,int index,char*ins);
235
257
long double calculate(char*,Preferences*pref,Variable*vars);
236
258
int bracketFind(char* string,char* searchString, int start=0);
237
259
int bracketFindRev(char* string,char* searchString, int start=-1);
238
260
char*strcut(char*src,int index,int len=1);
239
261
char*strins(char*dest,const char*src,int index);
240
262
int strcopy(char*dest,char*src,int len);
241
char* checkString(char*calcString,Preferences*pref);
242
263
void printError(const char*,int,ThreadSync*);
243
264
void convertToFloat(Number*num);
244
265
inline void convertToInt(Number*num);