/****************************************************************************** * Copyright (c) 2000-2016 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Balasko, Jeno * ******************************************************************************/ module lazy_B { import from lazy_defs all; function f_lazy_Bi( in @lazy integer pl_i, in boolean pl_evalFlag) runs on MyComp { if(pl_evalFlag){ v_i:= pl_i; //expression evaluated } log(v_i); } function f_lazy_BBi( in @lazy integer pl_i, in boolean pl_evalFlag) runs on MyComp { f_lazy_Bi(pl_i,pl_evalFlag); } }