Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

BankLayer

Returns layer number $1C - Bank Container of mobile.

Normally, that should be a simple constant, not function. But due to backwards compatibility it should be keeped as function.

DWS\Pascal Script:

function BankLayer : Byte;

DWS\Pascal Script Example:

if ObjAtLayer(BankLayer) > 0 then 
  AddToSystemJournal('Bank Box ID: $' + IntToHex(ObjAtLayer(BankLayer),8));

Python:

def BankLayer(): --> ubyte