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.
wwwoholic
Posts: 53 Joined: 23 December 2010, 20:58 PM
Post
by wwwoholic » 20 April 2015, 9:32 AM
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 » 20 April 2015, 16:41 PM
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