Distributed Wrath (simplewhore) wrote in component_help,
Distributed Wrath
simplewhore
component_help

  • Mood:

Music/TV/Book Component Issue

I was trying to add the Music/TV/Music Component to my journal and I get this error.

Compile error: line 270, column 6: Unexpected token found. Expecting: [TokenPunct] = (
Got: [TokenIdent] = id
S2::Node, S2/Node.pm, 139
S2::NodeArguments, S2/NodeArguments.pm, 25
S2::NodeTerm, S2/NodeTerm.pm, 450
S2::NodeIncExpr, S2/NodeIncExpr.pm, 41
S2::NodeUnaryExpr, S2/NodeUnaryExpr.pm, 40
S2::NodeProduct, S2/NodeProduct.pm, 28
S2::NodeSum, S2/NodeSum.pm, 31
S2::NodeRelExpr, S2/NodeRelExpr.pm, 41
S2::NodeEqExpr, S2/NodeEqExpr.pm, 29
S2::NodeLogAndExpr, S2/NodeLogAndExpr.pm, 29
S2::NodeLogOrExpr, S2/NodeLogOrExpr.pm, 29
S2::NodeRange, S2/NodeRange.pm, 29
S2::NodeCondExpr, S2/NodeCondExpr.pm, 29
S2::NodeAssignExpr, S2/NodeAssignExpr.pm, 29
S2::NodeExpr, S2/NodeExpr.pm, 29
S2::NodePrintStmt, S2/NodePrintStmt.pm, 48
S2::NodeStmt, S2/NodeStmt.pm, 35
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 42
S2::NodeFunction, S2/NodeFunction.pm, 104
S2::Layer, S2/Layer.pm, 58
S2::Compiler, S2/Compiler.pm, 27

Context

266:
267: # decomment this section if this is in the non-print_free_text section of the page_layout function when using the components on both sides tutorial
268: # print $comp_header_open; print $k1Mheader; print $comp_header_close;
269: """
270:

271: 272: """; 273: 274: foreach var int i (0 .. (size($k1Msrc) - 1)){

Here is my layer in the browser thingy in HTML if you can help. Plus, is there a way to put components on each side that I can understand? I tried the tutorial, but ti was way above me evidently. Thanks in Advance!
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 3 comments