PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

PAWN

PAWN

PAWN is a pl created in 2006.

#476on PLDB 16Years Old 785Users
2Books 0Papers 3kRepos

Try now: Riju

Pawn is a quick and small scripting language that requires few resources.


Example from Riju:
#include <core> main() { print("Hello, world!\n"); }
Example from Linguist:
#include <a_samp> forward OneSecTimer(); new lasttick = 0; main() { print("\n----------------------------------"); print(" This is a blank GameModeScript"); print("----------------------------------\n"); } public OnGameModeInit() { // Set timer of 1 second. SetTimer("OneSecTimer", 1000, 1); print("GameModeInit()"); SetGameModeText("Timer Test"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; } public OneSecTimer() { if(lasttick == 0) { lasttick = GetTickCount(); return; } new sText[256]; format(sText,sizeof(sText),"GetTickCountOffset = %d",GetTickCount() - lasttick); print(sText); SendClientMessageToAll(0xFF0000, sText); lasttick = GetTickCount(); }

Language features

Feature Supported Example Token
Comments
// A comment
Line Comments
// A comment
//
Semantic Indentation ϴ

Books about PAWN from ISBNdb

title authors year publisher
Pawn (programming Language) Surhone and Lambert M. and Timpledon and Miriam T. and Marseken and Susan F. 2010
A Source Of Pawn Stars Inspiration - 121 Success Secrets Laura Sloan 20150313 Emereo
gravity.html · pawn.html · pony.html

View source

PLDB - Build the next great programming language · v2022 · Day 32 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com