Kill Statement

new BookmarkLockedFalling
rod
New Member
*

rod Avatar

Posts: 40

Post by rod on Nov 21, 2007 16:43:00 GMT -5

I'm kinda low on the curve here. Beta 5 gives a 404 error.

The KILL statement, what scope does that have? where, client, server, cache?

So can i Kill "c:\rods dir\rods file.ext" on the client? or does it only apply to the RB server files.

Silly question probably.
Alyce
Administrator
*****

Alyce Avatar

Posts: 519Female

-Alyce
carlgundel
Administrator
*****
Creator of Run BASIC

carlgundel Avatar

Posts: 975

StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

Post by StefanPendl on Nov 21, 2007 20:05:07 GMT -5

rod said:
So can i Kill "c:\rods dir\rods file.ext" on the client? or does it only apply to the RB server files.

If you could delete files on the client, your program would be considered malicious.
Any browser prevents running code that is harmful.
[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
carlgundel
Administrator
*****
Creator of Run BASIC

carlgundel Avatar

Posts: 975

Post by carlgundel on Nov 21, 2007 21:21:28 GMT -5

stefanp said:
rod said:
So can i Kill "c:\rods dir\rods file.ext" on the client? or does it only apply to the RB server files.

If you could delete files on the client, your program would be considered malicious.
Any browser prevents running code that is harmful.

That's right. Run BASIC is a server-side language. There is no way to read, write or delete files or directories or call API functions on the client.

-Carl
rod
New Member
*

rod Avatar

Posts: 40