1. 首页
  2. 易语言 - EasyLanguage
  3. 动态识别数据流 Dynamically recognize data streams

动态识别数据流 Dynamically recognize data streams

本文通过示例说明如何通过EL以编程方式识别附加的数据流,然后对它们进行处理。

This is an example of how EL can dynamically recognize how many data streams it has, i.e. programmatically recognize additional data streams via EL and then process them
(trying to make code generic) .

NumDataStreams = the number of datastreams on the chart.

var: 
	x		( 0 ) , 
	NumDataStreams	( 0 ) ; 
 
For x = 1 to 50 begin  
	if BarStatus( x ) > 0  then  
	begin  
		NumDataStreams = x ;  
	end ;  
end ;
更新于 2020年5月20日

这篇文章对您有帮助吗?

相关的话题

留言评论