case TOKENIZER_GET_HISTO_RANGE: accept(TOKENIZER_GET_HISTO_RANGE); int from = expr(); int to = expr(); //int scale = expr(); //is optional possible?? r = (unsigned short)shot_histogram_get_range(from, to, 100);//returns -1 for error break;
Print takes a variable number of arguments, so you might want to look at that. Your code can be simpler since you only need 2 or 3 arguments.
Started by Sasha Creative Uses of CHDK
Started by ultimA « 1 2 ... 8 9 » General Discussion and Assistance
Started by CNW Script Writing
Started by andrewalexander.ca Script Writing
Started by reyalp « 1 2 » General Discussion and Assistance