User Activity

  • Modified a comment on ticket #872 on FreeBASIC Compiler

    At best, one could say that the demonstrated code "a: 1 as boolean" (sort of an implicit bitfied) results in unpredictable behaviour. It shouldn't be allowed in my opinion. When inserting integers in-between, the results are "correct": type UDT a: 1 as boolean aa as integer b: 1 as boolean bb as integer c: 1 as boolean cc as integer end type dim x as UDT dim value as uinteger = 1 x.a = value print x.a x.b = value print x.b x.c = value print x.c Remark: tested with FBC 1.06

  • Modified a comment on ticket #872 on FreeBASIC Compiler

    At best, one could say that the demonstrated code "a: 1 as boolean" (implicit bitfied) results in unpredictable behaviour. It shouldn't be allowed in my opinion. When inserting integers in-between, the results are "correct": type UDT a: 1 as boolean aa as integer b: 1 as boolean bb as integer c: 1 as boolean cc as integer end type dim x as UDT dim value as uinteger = 1 x.a = value print x.a x.b = value print x.b x.c = value print x.c

  • Modified a comment on ticket #872 on FreeBASIC Compiler

    At best, one could say that the demonstrated code "a: 1 as boolean" (implicit bitfied) results in unpredictable behaviour. It shouldn't be allowed in my opinion. When inserting integers in-between, the results are "correct": type UDT a: 1 as boolean d as integer b: 1 as boolean e as integer c: 1 as boolean f as integer end type dim x as UDT dim value as uinteger = 1 x.a = value print x.a x.b = value print x.b x.c = value print x.c

  • Posted a comment on ticket #872 on FreeBASIC Compiler

    At best, one could say that the demonstrated code "a: 1 as boolean" results in unpredictable behaviour. It shouldn't be allowed in my opinion. When inserting integers in-between, the results are different: type UDT a: 1 as boolean d as integer b: 1 as boolean e as integer c: 1 as boolean f as integer end type dim x as UDT dim value as uinteger = 1 x.a = value print x.a x.b = value print x.b x.c = value print x.c

  • Modified a comment on ticket #872 on FreeBASIC Compiler

    In your example, a, b and c are not booleans. They are integers. The following code works as expected: type UDT a as boolean = 1u b as boolean = 1 c as boolean = -1 end type dim x as UDT dim as uinteger value = 1 print x.a, x.b, x.c x.a = value print x.a

  • Modified a comment on ticket #872 on FreeBASIC Compiler

    In your example, a, b and c are not booleans. The following code works as expected: type UDT a as boolean = 1u b as boolean = 1 c as boolean = -1 end type dim x as UDT dim as uinteger value = 1 print x.a, x.b, x.c x.a = value print x.a

  • Posted a comment on ticket #872 on FreeBASIC Compiler

    In your example, a, b and c are not booleans. The following code works as expected: type UDT a as boolean = 1u b as boolean = 1 c as boolean = -1 end type dim x as UDT dim as uinteger value = 1 print x.a, x.b, x.c x.a = value print x.a

  • Posted a comment on ticket #299 on FreeBASIC Compiler

    That would probably be more a task for an IDE or RAD environment.

View All

Personal Data

Username:
munair
Joined:
2017-11-17 07:19:33
Location:
't Zand / Netherlands / CEST
Gender:
Male

Projects

  • No projects to display.

Skills

This is a list of skills that munair possesses:

  • User Interface
  • Programming Language
  • Operating System

Personal Tools