Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] [SOLVED] How to get learn abaout const for newbie? const belongs to what group?

 
  • 0 Vote(s) - 0 Average
Pawn [SOLVED] How to get learn abaout const for newbie? const belongs to what group?
PutuSuhartawan
Offline

Burgershot Member
Posts: 120
Threads: 52
Joined: Nov 2020
Reputation: 1
Location: Indonesia
#1
2021-05-14, 06:49 PM (This post was last modified: 2021-05-14, 11:45 PM by PutuSuhartawan.)
Solution:
Reserved words (keywords) Statements Operators Directives Other assert char #assert const 98 ] General syntax break defined #define enum case sizeof #else forward continue state #elseif native default tagof #emit new do #endif operator else #endinput public exit #endscript static for #error stock goto #file if #if return #include sleep #line state #pragma switch #section while #tryinclude #undef Next to reserved words, pawn also has several predefined constants, Predefined constants: 102 you cannot use the symbol names of the predefined constants for variable or function names.
Source: https://github.com/pawn-lang/compiler/raw/master/doc/pawn-lang.pdf
all of these belong to the Pawn syntax class. Which should be commonly used after reading the rules for the pawn language and having been subject to fines several times from the pawn language developer community.


Problem :
I see there are many variables such as include, pragma, public, stock, forward. So what group does all of this belong to? how is the basic understanding?
Y_Less
Offline

Administrator

Posts: 323
Threads: 16
Joined: Feb 2019
Reputation: 90
#2
2021-05-14, 08:23 PM
https://github.com/pawn-lang/compiler/raw/master/doc/pawn-lang.pdf
Y_Less
Offline

Administrator

Posts: 323
Threads: 16
Joined: Feb 2019
Reputation: 90
#3
2021-05-14, 08:23 PM
Also, none of those things you mentioned are variables.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode