Issue with inline procedure

Discussion of issues related specifically to writing code for native mode devices. This includes ZBasic code as well as assembly language code and C code, both inline and standalone.
Post Reply
wwwoholic
Posts: 53
Joined: 23 December 2010, 20:58 PM

Issue with inline procedure

Post by wwwoholic »

When inline sub is in separate module it causes back-end build error. It works when in same file as Main().

Code: Select all

public sub LedOn() attribute(Inline)
	call PinLow(A.0)
end sub

Sub Main()
	call LedOn()
End Sub
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

Confirmed, working on a solution. The issue is completely different from the others, the only common factor is that a back-end compiler error occurs.
- Don Kinzer
Post Reply