errant/tacit

View on GitHub
src/Instruction/IO/Prn.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php 
namespace Tacit\Instruction\IO;
/**
 * Print Directly to Screen
 *
 * @author Tom Morton
 */
class Prn extends \Tacit\Instruction\Type\Str {

    public $command = 'PRN';
    
    public function execute($vm)
    {
        echo $this->getString($vm) . "\n";
    }

}