You can do maths in Batch.
Instead of:
set VAR=value
Use:
set /a VAR=value
"/a" tells DOS that the value is an operation and DOS would now calculate the operation chosen and set VAR to it.
Offline
rdococ wrote:
You can do maths in Batch.
Instead of:Code:
set VAR=valueUse:
Code:
set /a VAR=value"/a" tells DOS that the value is an operation and DOS would now calculate the operation chosen and set VAR to it.
But you can't add subtract multiply or divide.

Offline
elfin8er wrote:
rdococ wrote:
You can do maths in Batch.
Instead of:Code:
set VAR=valueUse:
Code:
set /a VAR=value"/a" tells DOS that the value is an operation and DOS would now calculate the operation chosen and set VAR to it.
But you can't add subtract multiply or divide.
set VAR = 10 * 2 set VAR = 10 / 2 set VAR = 10 - 2
There may be a /c or something like "set /c var=5*2" but I don't remember.
Offline
I know what I can do!! Is there a way to link Panther (Or another scratch mod) with PHP? That would make it TONS easier because I already know Panther/Scratch!! I know there is scratch live, but I'm not sure if I understand it. I want to have it stored online, so in the future I could maybe make a browser based version. Is this possible?

Offline
elfin8er wrote:
I know what I can do!! Is there a way to link Panther (Or another scratch mod) with PHP? That would make it TONS easier because I already know Panther/Scratch!! I know there is scratch live, but I'm not sure if I understand it. I want to have it stored online, so in the future I could maybe make a browser based version. Is this possible?
You'd probably have to create a browser-based version before you make a Scratch/Panther one. That's why the last few projects that started with Scratch/Panther that connected to PHP didn't last long and weren't secure.
Offline
Magnie wrote:
elfin8er wrote:
I know what I can do!! Is there a way to link Panther (Or another scratch mod) with PHP? That would make it TONS easier because I already know Panther/Scratch!! I know there is scratch live, but I'm not sure if I understand it. I want to have it stored online, so in the future I could maybe make a browser based version. Is this possible?
You'd probably have to create a browser-based version before you make a Scratch/Panther one. That's why the last few projects that started with Scratch/Panther that connected to PHP didn't last long and weren't secure.
Awe man! Well, back to work...

Offline
elfin8er wrote:
I'm almost done with my code for the register, login, logout ect. Anyone want to test it out if I give them the source, and edit any errors? I need someone who's good at PHP, because I'm just starting today.
Can I be a tester when it comes out please?
[ I wish I knew PHP.
]
Offline
ImagineIt wrote:
elfin8er wrote:
I'm almost done with my code for the register, login, logout ect. Anyone want to test it out if I give them the source, and edit any errors? I need someone who's good at PHP, because I'm just starting today.
Can I be a tester when it comes out please?
[ I wish I knew PHP.]
Sure. In fact, you can test out the register page as soon as I get the Player Creation working.

Offline
elfin8er wrote:
ImagineIt wrote:
elfin8er wrote:
I'm almost done with my code for the register, login, logout ect. Anyone want to test it out if I give them the source, and edit any errors? I need someone who's good at PHP, because I'm just starting today.
Can I be a tester when it comes out please?
[ I wish I knew PHP.]
Sure. In fact, you can test out the register page as soon as I get the Player Creation working.
Ok! Thanks!
Offline
ImagineIt wrote:
elfin8er wrote:
ImagineIt wrote:
Can I be a tester when it comes out please?
[ I wish I knew PHP.]
Sure. In fact, you can test out the register page as soon as I get the Player Creation working.
Ok! Thanks!
No Prob. Although, I don't know how long it'll be, considering this is only my second or third day with PHP.

Offline
Offline
I can test things. I know nothing of coding but I can find bugs and stuff like nobody's business. (Eww...)
Offline
Earthboundjeff wrote:
I can test things. I know nothing of coding but I can find bugs and stuff like nobody's business. (Eww...)
Same here

Offline
Offline