?login_element?

Subversion Repositories NedoOS

Rev

Rev 497 | Blame | Compare with Previous | Last modification | View Log | Download

  1. #include "script.h"
  2. FUNC INT f(UINT p) {
  3.   RETURN (INT)(3.1415926536e-4 + sin((FLOAT)(INT)p));
  4. }
  5.  
  6. //ъюэёЄрэЄэ√х ьрёёшт√ яшёрЄ№ т constarr.c, шэрўх юэш сєфєЄ эхфюёЄєяэ√!
  7. //чфхё№ Єюы№ъю шьяюЁЄшЁєхь ёё√ыъш эр эшї
  8. EXTERN UINT arr[5];
  9.  
  10. //ъюэёЄрэЄэ√х ёЄЁюъш ьюцэю чфхё№:
  11. CONST PCHAR str = "123";
  12.  
  13. FUNC UINT main(UINT par) {
  14. VAR UINT a;
  15. VAR UINT b;
  16. //VAR PUINT arr = (PUINT)&Gotov1;
  17. //arr[25] = (UINT)f(0x12345678abcdef0);
  18. /**if (Gotov1 != 0) {
  19.   Gotov2 = Pusk;
  20.   state = 2;
  21. };*/
  22.   b = a;
  23.   INC a;
  24.   DEC b;
  25.   state = arr[0];
  26.   RETURN (UINT)f(2);
  27. }
  28.