|
12345678910111213141516171819202122232425 |
- #module \
- Chat
-
- #define URL (CONFIG_SERVER_URL + "/chat.php")
-
- #defcfunc local \
- New \
- int p_id
- id.insNum = p_id
-
- insNum++
-
- Return insNum - 1
-
- #deffunc local \
- Send \
- int p_insId,\
- str p_message
- HTTPLoad@ URL + StrF ("?id=%d&text=%s", id.p_insId, p_message)
- HTTPInfo _, HTTPINFO_MODE
-
- Return
-
- #global
-
|