Little error
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Little error

Started by yoonohoo, 24 May, 2005, 03:31:34

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yoonohoo

Can some1 help me? It looks pretty easy if you know how! But then again...

From this:
[User:SendData("----------- "..arg.." is from "..C.." and have CountryCode ["..CC.."]" "----------- SearchTime: "..string.format("%3.2f",(os.clock()-T)).." sec."..) return 1
      end;


I get this error:
151: `)' expected (to close `(' at line 150) near `"----------- SearchTime: "'

Thanks

It might be simple for you but rocket science for me...

bastya_elvtars

From ..) before return 1 remove ..

:D

But really!
Everything could have been anything else and it would have just as much meaning.

yoonohoo

Removed the last .. but still have the same error

151: `)' expected (to close `(' at line 150) near `"----------- SearchTime: "'

It might be simple for you but rocket science for me...

bastya_elvtars

User:SendData("----------- "..arg.." is from "..C.." and have CountryCode ["..CC.."] ----------- SearchTime: "..string.format("%3.2f",(os.clock()-T)).." sec.") return 1
end;
Everything could have been anything else and it would have just as much meaning.

yoonohoo

#4
Is this also correct?
User:SendData(" "..arg.." is from "..C.." and have CountryCode " ..CC.. "----------- SearchTime: "..string.format("%3.2f",(os.clock()-T)).." sec.") return 1 end;

Removed the brackets

Thanks

It might be simple for you but rocket science for me...

bastya_elvtars

Yes. Anything between " and " can be changed, only rule is: don't put there a third "!

:P
Everything could have been anything else and it would have just as much meaning.

SMF spam blocked by CleanTalk