[M3devel] how to write constants?

Jay K jay.krell at cornell.edu
Sat Aug 31 08:17:08 CEST 2013


What is the right way to do this for 64bit systems?

  other       : INT32 = 16_FFFFFFFF;


"../src/win32/WinUser.i3", line 1321: warning: value not assignable (range fault)
  WS_POPUP       : INT32 = 16_80000000;

"../src/win32/WinVer.i3", line 37: warning: value not assignable (range fault)
  VS_FFI_SIGNATURE    : INT32 = 16_FEEF04BD;


I'm guessing..
 other : INT32 := -1;
WS_POPUP = FIRST(INT32)
VS_FFI_SIGNATURE    : INT32 = -17890115; (* 16_FEEF04BD *)


?

 - Jay
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20130831/90142ad6/attachment-0001.html>


More information about the M3devel mailing list