Skip to content

Check LocalImportProcedure

github-actions[bot] edited this page Nov 22, 2024 · 4 revisions

Possibly meant _import instead of _local.

Non-compliant Code Example

_method a.m()
  _local log_stream << !terminal!
  _proc@do_something()
    _local log_stream
    log_stream.write("hello from do_something")
  _endproc
_endmethod

Compliant Code Example

_method a.m()
  _local log_stream << !terminal!
  _proc@do_something()
    _import log_stream
    log_stream.write("hello from do_something")
  _endproc
_endmethod

Note

This page is generated. Any changes made to this page through the wiki will be lost in the future.