Éste ejemplo es del Runner
- Code: Select all Expand view
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="modharbour.js"></script>
</head>
<body>
<div id="code">
</div>
<script>RunPrg("test.prg");</script>
</body>
</html>
Con la extensión Go Live de VSCode funciona
http://127.0.0.1:5500/run_hosted_prg.html
Harbour 3.2.0dev (r2004201301)
Y con
http://127.0.0.1/runner/run_hosted_prg.html (LocalHost no funciona)
Error: Syntax error "syntax error at '<'"
operation: line:1
called from: HB_COMPILEFROMBUF, line: 0
called from: ../apache.prg, EXECUTE, line: 130
called from: pcode.hrb, RUN, line: 17
called from: HB_HRBDO, line: 0
called from: ../apache.prg, EXECUTE, line: 132
Source:
Porqué?
Gracias por la ayuda