Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Logic into conditional not print well?

OP nacxo

23rd March 2014, 02:45 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
20 posts
Join Date:Joined: Apr 2012
Hi, i love this app but when write this code:
Code:
$#NWIFI#!=? Wifi #NWIFI#\:((#NWSIG#+1)*10)% :Disconected$
Its return:
Code:
Wifi NaCx0:((9+1)*10)%
But must be:
Code:
Wifi NaCx0:100%
Any tip or error in my sentence?
Thanks

EDIT: some solution maybe is
Code:
$#NWIFI#!=? Wifi #NWIFI#\:((#NWSIG#+1)*10) :Disconected$ $#NWIFI#!=?%$
but write two sentences is bad logic
Last edited by nacxo; 23rd March 2014 at 07:28 PM. Reason: Some changes
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes